home *** CD-ROM | disk | FTP | other *** search
- head 1.3;
- branch ;
- access ;
- symbols ;
- locks stolcke:1.3; strict;
- comment @@;
-
-
- 1.3
- date 91.03.18.14.29.53; author stolcke; state Exp;
- branches ;
- next 1.2;
-
- 1.2
- date 91.03.17.23.08.39; author stolcke; state Exp;
- branches ;
- next 1.1;
-
- 1.1
- date 91.03.17.22.13.42; author stolcke; state Exp;
- branches ;
- next ;
-
-
- desc
- @@
-
-
- 1.3
- log
- @*** empty log message ***
- @
- text
- @.\" Copyright (c) 1980 Regents of the University of California.
- .\" All rights reserved. The Berkeley software License Agreement
- .\" specifies the terms and conditions for redistribution.
- .\"
- .\" @@(#)nice.1 6.2 (Berkeley) 5/8/86
- .\"
- .TH NICE 1 "May 8, 1986"
- .UC 4
- .SH NAME
- nice, nohup \- run a command at low priority (\fIsh\fR only)
- .SH SYNOPSIS
- .B nice
- [
- .BI \- number
- ]
- command [ arguments ]
- .PP
- .B nohup
- command [ arguments ]
- .SH DESCRIPTION
- .I Nice
- executes
- .I command
- with low scheduling priority.
- If the
- .I number
- argument is present, the priority is incremented (higher
- numbers mean lower priorities) by that amount up to a limit of 20.
- The default
- .I number
- is 10.
- .PP
- The super-user may run commands with
- priority higher than normal
- by using a negative priority,
- e.g. `\-\-10'.
- .PP
- .I Nohup
- executes
- .I command
- immune to hangup and terminate signals from the controlling terminal.
- The priority is incremented by 5.
- .I Nohup
- should be invoked from the shell with `&' in order to
- prevent it from responding to interrupts by or
- stealing the input from
- the next person who logs in on the same terminal.
- .SH SPRITE
- .I Nice
- on Sprite maps Unix priorities in the range -20 to 20 into one
- of the five Sprite priorities. The mapping is done as follows:
- .br
- -20 \(em -20 -> -20
- .br
- -19 \(em -10 -> -10
- .br
- -9 \(em 9 -> 0
- .br
- 10 \(em 19 -> 10
- .br
- 20 \(em 20 -> 20
- .br
- .SH FILES
- nohup.out standard output and standard error file under
- .I nohup
- .SH "SEE ALSO"
- csh(1), setpriority(2), renice(8)
- .SH DIAGNOSTICS
- .I Nice
- returns the exit status of the subject command.
- .SH BUGS
- .I Nice
- and
- .I nohup
- are particular to
- .IR sh (1).
- If you use
- .IR csh (1),
- then commands executed with ``&'' are automatically immune to hangup
- signals while in the background.
- There is a builtin command
- .I nohup
- which provides immunity from terminate, but it does not
- redirect output to
- .I nohup.out.
- .PP
- .I Nice
- is built into
- .IR csh (1)
- with a slightly different syntax than described here. The form
- ``nice +10'' nices to positive nice, and ``nice \-10'' can be used
- by the super-user to give a process more of the processor.
- @
-
-
- 1.2
- log
- @*** empty log message ***
- @
- text
- @d10 1
- a10 1
- nice \- run a command at low priority (\fIsh\fR only)
- d17 3
- d37 11
- d63 3
- d73 3
- a75 1
- is particular to
- d77 9
- @
-
-
- 1.1
- log
- @Initial revision
- @
- text
- @d10 1
- a10 1
- nice, nohup \- run a command at low priority (\fIsh\fR only)
- a16 3
- .PP
- .B nohup
- command [ arguments ]
- d34 15
- a48 14
- .PP
- .I Nohup
- executes
- .I command
- immune to hangup and terminate signals from the controlling terminal.
- The priority is incremented by 5.
- .I Nohup
- should be invoked from the shell with `&' in order to
- prevent it from responding to interrupts by or
- stealing the input from
- the next person who logs in on the same terminal.
- .SH FILES
- nohup.out standard output and standard error file under
- .I nohup
- d56 1
- a56 3
- and
- .I nohup
- are particular to
- a57 9
- If you use
- .IR csh (1),
- then commands executed with ``&'' are automatically immune to hangup
- signals while in the background.
- There is a builtin command
- .I nohup
- which provides immunity from terminate, but it does not
- redirect output to
- .I nohup.out.
- @
-